<!DOCTYPE html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>列表</title>
    <link rel="stylesheet" href="/lib/jquery-easyui/themes/icon.css"/>
    <link rel="stylesheet" href="/lib/jquery-easyui/themes/default/easyui.css"/>
    <script src="/lib/jquery/dist/jquery.js"></script>
    <script src="/lib/jquery-easyui/jquery.easyui.min.js"></script>
    <script src="organization_index.js"></script>
    <script src="organization_add.js"></script>
</head>
<style>
    #organizationList{
        margin: 0 auto;
    }
    #addOrganizationForm {
        float: left;
        position: absolute;
        left: 60px;
    }
    #Btn{
        float: left;
        position: absolute;
        left: 80px;
        top: 100px;;
    }
</style>
<body>
<!--列表-->
<table id="organizationList"></table>
<!--添加窗口-->
<div id="addOrganizationWin" class="easyui-window" title="添加部门" style="width:450px;height:250px;display: none"
     data-options="iconCls:'icon-save',modal:true,closed:true">
    <br/>
    <br/>
    <form id="addOrganizationForm" name="addOrganizationForm" method="post">
        <table>
            <tr>
                <input type="hidden" id="organization_pid" name="organization_pid" value=""/>
                <td><span style="color: red">*</span>部门名称：</td>
                <td><input class="easyui-textbox" style="width:150px" type="text"
                           id="organizationName" name="organizationName"
                           prompt="请输入要添加的部门名"/>
                <span id="info_notice"style="color: #2B79AA;font-size: 12px">*部门名必填</span></td>
            </tr>
            <tr>
                <td>部门描述：</td>
                <td><input class="easyui-textbox" style="width:150px" type="text"
                           id="organizationDescription" name="organizationDescription"
                           prompt="如何描述该部门"
                    /></td>
            </tr>
        </table>
        <div id="Btn">
            <a  href="#" class="easyui-linkbutton" onclick="addOrganization()">确认添加</a>
            <a  href="#" class="easyui-linkbutton" onclick="cancelAdd()">取消操作</a>
        </div>
    </form>
</div>
<div id="organizationResourceWin"class="easyui-window" title="设置部门权限" style="width:430px;height:400px;display: none"
     data-options="iconCls:'icon-save',modal:true,closed:true">
<table id="treeData"></table>
</div>
</body>
</html>